﻿/*
 * Created by SharpDevelop.
 * User: Yequ
 * Date: 10/8/2011
 * Time: 5:34 PM
 * 
 */
using System;
using System.Data;
using BAL.Entities;
using DAL.sqlStatement;

namespace DAL.Logic
{
	/// <summary>
	/// Description of clsDocumentDAL.
	/// </summary>
	public class clsDocumentDAL
	{
		#region --- Get docs list
		/// <summary>
		/// Get docs list in data access layer, return a datatable.
		/// </summary>
		/// <returns></returns>
		public DataTable dalGetDocsList()
		{
			string query=@"select * from tblDocument where status=1";
			clsSQLStatement objDT = new clsSQLStatement();
			return objDT.doGetDataTable(query);
		}
		#endregion --- Get docs list
		
		#region --- New document
		#endregion --- New document
		
		#region --- Update document
		#endregion --- Update document
		
		#region --- Delete doc
		#endregion --- Delete doc
		
		#region --- Search doc
		#endregion --- Search doc
	}
}
